Fix the breadcrumbs by implementing clear back stack