fix bug in pubmed tmppkg and pkg were same