Fix in the algo of finding the sensors on the way of the track.