Fix html_id functions