Added proper error handler for empty pubdate