Some fixes in gyroregulator