fix packing zero integers