handle missing entries in h5 file