modify the math format