set max result size to 1000