fixed tooltip trimming