Fix uint8_t to uint32_t