replace common RPC dir