Fixed bug #120 by adding missing break; in switch statement