fix to work with faraday 0.9.0