change pagesize 500 to 1000