truncation warning cleanup