fixed another script error