fixed nil dates in convert