adjusted priority of dispatch.error handler