fixing bug with the clicking on breadcrumb