fixed error in index file