fix(tooltip): function through scope