Fixed spurious error message caused by LatexManager