bug fixes for branding role function that caused breadcrumbs to break