fixing the ip issues