fix: bug in API and remaining plugin_loader requirement