Corrected user event listener.
Merge pull request #1867 from cmfcmf/user-listener

Corrected user event listener.