changed error message for RPC errors