fixed mathjax formatting