fixed fetchAllRows