final dates validation fix