make sure _tref is not none in batches