fix the rainbow mode stuff