fix procent  typedef to uint8_t