fixed bug with html_post