fix ip in inventory