remove dup commands