fixed null pointer for entries with no images