fixed Problem with uint8_t to uint32_t conversion.