remove trailing comma which made loopback ip a tuple