modify packing