Fixed bug with the getattr of the listeners