fix listeners processing