entry.paths not initialised until end so check if null