fixed error in date format