Fixed issue with exception in client app