fix mathjax bug