improve compression and remove previous compression