Fixed LaTeX problems