fixed the roles issue