Fix bug

Fix typo when applying event arguments in socket bindings.