Error fix in latex build