corrects html validation issues