Fix isPrivate property setting