revert to version before with offset-by-one