solving color problems