fixes to exponent variable