fix event listener creation inside a listener creation bug 🀯