fixed compression settings detection