fixed possible crash on rollback 0