Fixing header in index file