Fixed a PHP style error which could cause white screen in the front page.