fix get ip Error.