fix for getting content on initial load