Fixing main index