maybe fix nested components in rpcs