fixed figures and main.tex