remove unused switch feature