some trick on rainbow plugin