fixed another error in script