clean non-existing cmd