no more segfault when unknown cmd