Truncate helper