fixed issue with front page not being setup on theme init