Bug Fix: correctness problem on group creation