add safety check to center_move