fix bug onload remove all registrations from tooltip