deinit accelerometer  added