removed the use of end_html_block