fix html5 errors