fix ellipsis on overflow