Fix current index value