Fixing index file because of versions migrations