actually fix rainbow ref