trying to fix this horrendous color glitch