fix emit undo/redo only once