fixes padding in packer