fix broadcast_barrier bug