a bug fixed in the switch labels parsing