Fix move_release and undo commands