fixed packing problem