fixed 0 speed bug.