yet another tweak to the ip address detection command