changed the method to get the Id from Aggregate Events