fix crash while handling unknown command