insert doc to DuplicationError. and rename obj_repository -> o_repository