DD conditions duplicated IDs fixed