fix get controller by ip bug