remove unused switch case + update comment