fixed tiny bug in packing target