Fixed array out of bounds exception
Updated events (again)