* fixed a bug of handling the command parameters