fix get ip