fix fetchurl