added debugging infos to rpc