Network cleanup

minor fixes