more functional fixes for user groups