Fix error in Uint8Array