prevent KeyError for unknown case types