fixed namespace conflict in event listener