fix strings in conditions