fixing hacky_break logic