fixes a bug where if there was a module that failed to load it would take down the whole thing