Fix accelerometer