add compression-is-none check