Fixed bug in proxy passing.