fix case switch syntax errors

fix another two broken case switches

add back comments