Fixed doc.fetch