fix example errors