fixed date format issue