amends for html5 validation