check for null tooltip before displaying