typo
Fix line endings (no actual changes)
Fix bug which broke events