fix mathjax formula