added deactivate_proxy function