some small fixes

the speed property wasn't set properly in the object initialization