added a break just in case the switch fails to exit