major bugfixes to final group outputs