some improvements on the robot movement