rpc bugfixes for offline nodes