fixed broadcast logic