bug fix in xsec scaling