fix(tooltip): Fixed undefined variable problem