Fix RPCManager cls method bug