ensured role name is correctly correspond to directory structure