remove rpc from core