code fix to get max 1000 rows every 2 mins...