Fix a script error