validated and fixed html