improving the local rpc extension