fixed html local and lowercaseing