fixed the front page search issue