fix speed/direction