fixed issues in mathjax