fix the color problelem of equations