strip html in error handler