duplicate event listeners resolved