minor adjustment

```default:``` was introduced to eliminate compiler warning, now making sure the switch statement remains functionally the same.