fixing html5 errors