undo spacing fix