reset DB version correctly