debugging bad doc downloads