fix rainbowbeam issues