fixed bug in EGM electron-ID