remove dup object in query