fix DedupEngine bug