fix for Modules.Events.addStartupContextListener