fix script issue in example