Fix in compression check