improve print conditional breaks