html5 validation fix