fix small bugs

fixed some bugs in command interpreter, add address port to client