changed delete tooltips function