get rid of rpc dir