fixed auto refresh of front page