correct invalid_case method name