"changed the code for displaying the tooltip"