small lastmotion fix