solve a bug about get the user's group