fixed mathjax issues