bugfix: listener scope