broadcast code bugfix