fix packer bug of int type(such as value 48), word count refactor