Fixed bugs in accel and ir_temperature