Ghetto fix for errors with pdfs

does not crawl pdfs