fix a bug on removeUserFromGroup