Fixing smart_ip integration