fixing date val