errors with RPC