fix conversion UINT32 to UINT8