fixes for right version of pdf-reader