become more robust against bad rpc providers

``T`` -> ``t``