debugged global prefactor