Remove unused switch