fixed issues with batchRequests array being undefined on first batch request execution