Fixed issue of index in folder