main: remove redundant switch case
main: remove debugging code