Fix math formatting