change to avoid null pointer exception when entry.url is null