lost parentheses bug in tooltip construction