sensor reading fixed