Fix packing command error