Remove undo's (not working properly)