avoid return from within switch