fix the bug that the tooltip gets lost once you log out and log in again