fix undefined tipsy