fix proxy type and proxy url in fetch