yield id not doc if wrap is false