manageRole bugs removed