fixed a bug occuring while adding group members