fixed the CompressionSpec