fix some HTML validity errors