fixed remove all listeners bug