fix Date field