fix broadcast and network address