fixing the flux reactor