Temperature sensor fix