fixed motor position issue