bugfix in client_profile