fixed wrapping and colors glitches