major bugfix for link and packing adding