bug fixes + renamed group class to role
bugfixes