remove the proxy when the settnig is disabled