modify html5 check