fix issue race condition to catch need for data on page load