uncommenting custom error handler