fixed constructor from OSArray to SArray