fixed undefined variable for elastic_ip