add cmdcheck