Fixed an issue with the listener class.