fixed teleoperation code