Modified beamprofile that was passing events