better node ip detect