Fix exponentiation