Fixed bug with proxy lookup