fixed the ball movement.