fixing NetworkUtils.java