fix tooltip adding processing