fix collection of IP on AWS