only show tooltip if required