get_history_index => get_history_by_index

No idea what I was thinking~