update proxy_bind to support variable