truncate config