fixed tooltip display problem