fix compressor construct