debugged the compressor

the compressor loop needs to be called either concurrently or before the
compressor