move event listener after full init
Merge pull request #1 from Hasufel/patch-1

move event listener after full init