make returning the middleware default