fix for daylight savings crash