put in the new html in case of errors