remove self.method_missing from middleware class, plain ruby no method error will do it here