fix error due to change in guzzle header behaviors