change packageFilter to packageTransform