some changes towards getting posts to load on page load