undo the port change