- replace SELECT LIMIT with array limit