plugin.load and plugin.reload fix