adjust for html5 error