also saved index in wrong spot