changed all the color cookie into query