fix index i