fix broadcast identifier
fix local address detection