remove bad compression handling