fix for ip