Fix bug in client application.