fixed for CMD check