fixed pdflatex issues