delete the global listener in this file