fix a script