fix compression issue