fixes issue with er tgz