expand and undo