fixed infobubble logic