fix case switch syntax errors

fix another two broken case switches