support for deflatete for preview