Fixed event sending
Merge pull request #49 from jonasfj/fix-event-sending

Fixed event sending