fix math formular