fix gains