fix Rainbow API breakage