fix some html syntax errors