fixed bugs on tooltip hover