Remove unneeded input from switch