cleaning up .tex file