fix tooltip issue