fix to be able to run on MiniAODs without errors

but without much sensible output so far