Fixed offline compression issue