fix multiple event listener init