fixed main page view to index