Fixed linenumber for script error