set proxy in initializer