fix parser rollback