working on real time sensor error msg