move unusedError and unusedRequest into init