fixing html in generated bid