command name check corrected