undo registration