Fixed html_errors overwriting