fixup more packed buffer code