Fixed two command releated bugs:

* Catch illegal arguments in params
* Execute lookup command asynchronous