fixed bug that was only retrieving 25 records