fix: register events dynamically
authored by robin and committed by robinwobin.dev 4 months ago a2251dd0 75f9916d