fix bugs for unsigned data in the 2nd 3rd 4th of bits type