add deflate support