fixed listeners bug