fixed pmid, doi and reference parsing