when undoing, collapse to .a instead of .b