fix problem with internal BundleURLConnection