fix index of folder