revoving distinct in doc