enforceCompression default to true, close #711