fix bad dates