remove line duplicate

remove double exsecution of cmd