correct insertion order of faraday middlewares