bugfix - line lost in tool.js