Delete old error handler