fixed date parsing.