Fixed HTML-generation error