fixed double-rendering on page load
fixed bug where title wouldn't load on first page load