bug fix in caseinsensitivedict