remove compressing method