truncate history