fix issue with cookie-saved colors