fix dedup on command