fix client creationg when user enters unicode characters