remove double cmd