remove listeners before adding