Fixing html generated