fix example errors
