cleanup proxy, use config