fix script error.