get the version after revert