accelerometer calibration fix