Small correction in the error handler