correcting main.tex file