undo the insert, causes too many problems with editor