Deleting errors in html