backout hack for chunk-by-dir