hotfix for recursive function in role management