repaired NPE when network access is disabled