fixed bug with front page