fixed error if no user groups are found