fix error in script