fix html5 validation errors