commander: don't use mode switch if it's not mapped