correcting cmd