fix math equation