bug fix pressure sensor calc