debug duplicate chapter