Fix #18 undefined variable pubdate