changed primary query limit