fixed the html and css parser