fix small group bug