Refactoring and added fix for get_breadcrumbs