fix compression