config case check