handle nil dates