Problem with transition.to after upgrade my corona

try this

had to add alpha cause a rect with width of 0 still showed a rect ???

gameTimer = 20     local timers = {}     local function gameTimerUpdate ()       gameTimer = gameTimer - 1       gameTimerText.text = gameTimer       display.remove( gameTimerBar )       local size = 280 - (280 - (amount\*gameTimer))             gameTimerBar = display.newRoundedRect( 160, 460, size, 20, 4)             gameTimerBar:setFillColor( 0, 1, 0 )             gameTimerBar.anchorX=0.5             gameTimerBar.anchorY=0.5             gameTimerBar.alpha = size == 0 and 0 or 1       gameTimerText:toFront( )     end     gameTimerBar\_bg = display.newRoundedRect( 160, 460, 280, 20, 4)     gameTimerBar\_bg:setFillColor( 0, 0, 1 )     gameTimerBar\_bg.anchorX=0.5     gameTimerBar\_bg.anchorY=0.5     gameTimerBar = display.newRoundedRect( 160, 460, 280, 20, 4)     gameTimerBar:setFillColor( 0, 1, 0 )     gameTimerBar.anchorX=0.5     gameTimerBar.anchorY=0.5     gameTimerText = display.newText( gameTimer , 0, 0, "Helvetica", 18 )     gameTimerText:setFillColor( 1, 0, 0 )     gameTimerText.x = display.contentWidth \* 0.5     gameTimerText.y = 456     amount = 280/gameTimer     timers.gameTimerUpdate = timer.performWithDelay(1000, gameTimerUpdate, gameTimer) ---- time counting----