Fixed bug: Added break statement in switch clause