more tries to get undo redo to work