Fix compress mode