remove event listeners before adding new ones