more fixes with undo/redo for meta