fix bug when the proxy is not instanciated