fix a bug in region color button