Remove erroneous error handler