Fixed bugs related to subject of group.