handle nil entries