fixed problem with uppercase PreferredName