fixed gyro issue