Fix of front page loading bug.