fixing bugs in collapsing alginments