fix deflate