fixing html5 validation errors