htmlGenerator problem solved