Fix issue with compress