tiny refactorings in index page