some fixes in gyro