disable built in middleware, does not work