fixing bad date