fixing IP error