fixed error in news component when no publication date is set