not working rpcReg