added support for compression on get