Fix wrong event listener