fix shitty date parse