bug fix: pubdate not declared in proper context