fixes for HTML5 validation