tweaks to avoid warnings, and some odd networking issues