repaired exponentiation