Fix bad injected html bug