bugfix: isTruncated always returned true