Fix a bug that the index become strange number in the infinate mode
Bumping version to 1.3.1