rewrite compressor.warn
new test case for customize id