use correct uint8 size for id