accelerometer fix

Change-Id: I1632679e84a0379744cf8d237f9cba6880bd6a92