fixed an issue where content may not show up on load