remove dup command detection