attempt to fix rainbow ref