index register button fix