tried to fix tooltip display problem