fix mathjax commands