additional rpc debug logic