fixed terrible bug with undo/redo