fixed date bug on visitation record