workaround horrible mathjax bug