fixing html bugs