merges equal "case" values