fixed date formating.