oops, fix bug I just introduced into build_url
render_html for rendering html to string