fixed get_cases typo