debug chapter duplication