fix "undefined method" error when assigning elastic IPs