clean up setTool()