trying to fix the proxy passing