updated tooltip removal loop