error handling for breadcrumb