fixed some html5 issues