fixed listener

You listened some different event in your as, now it works well. Tested.