fix for motion control stop