remove redundant uint8_t pointer