fix setting extraction from tarball