Fix errors of home page rendering