fix switch break