delete the switch case

I will take care of it later~