fix many html5 errors