fix snappy compression