referenced settings.onTruncate directly