removing error handler