Tried to fix Uint8array incompatibility with Array's functions