add ellipsis if truncation happens