fix private_ip > public_ip
fix variable-name