revert commits to a stable version