fix missing end of case