improve accuracy of sensor's value reading