make activateTool a little better.