Fix the switch command

- add a default describe with type subject
Fix an edge case in the switch command