added detection for lim in hazard detection unit