fixed mistake on accelerometer coordinates