Revert "Revert "fixed main page""

This reverts commit 48cbbd964f58e8b3169ca7b32dc1ab2ae1f7b0d1.