Speed were working fine until i allowed for setSpeed in float value.