Fix publishTool..