bugfix: we never retrieve compression when it's defined

trivial fix