fix bug -- documents->dcument