EventsManager Error: 'Index was out of range. Must be non-negative...'