Undo hack