some network fixes