converting the default roles to internal roles