Fixed issue loading plugins