sends req.doc instead of doc (bugfix)