compress mode bug