skips middleware that is not enabled