Fix a mistaken version logic by the last commit