removed errors related to date conversion.