Fixed i/o

Inverted the i/o states and compressor