modify ips to formal env