fixed HTML Generator bug and rebuild