fix breadcrum conditions