duplication query change