fix packing prefixes