fix script variable