undo the move of location statement