fixing date parse to strptime