changes to make importer work (kind of - badly) with unmarked pdfs