adding fix to setting ips