fixed setEvents and event population in the source, thanks @foaly-nr1!