return a noop middleware for some specific usage