Fixed type issues in command line argument handler in client.