fix middleware combo