collapse blocked elements. fixes #199