fixes 6436: plugins are now being loaded after core modules