GREEN: fixed bug in undo spacing