Fixed main page link bug