fix caseInsensitive escaping