accelerometer bug