simplify get case
added get_cases