truncate at end