fix index attempt 2