fixed gamma_calc, disabled IR