fixed bugs with speed slider