fix gain