fix bug with config
fix bug with header on multiple request