fixed tooltip text replacement problem