Fixing a bug in colors