fix wrong use in break