fixed mathjax bug in chp1 and 2