fix example issues