fixing IP addressing issues