fix break handler