fix strict_case_match bug