make customtooltip not dependent on app