fixed group_collapse for zero flux