fix for exponents as reported by Danny Yoo