Fix compress issue