Bug fix in HTML Helper Class