remove packer function