found issue with IP variable