fixing broadcast ip bug