fix client app creation