fix group name resolution