Add closing ^ on exponents