fix for get_html_translation_table function