fix: chars are now uint8_t