fixed date parsing bug;