fixed defect with only retreiving 200 records