FIX: do not create a chunk detector when chunking is disabled