fixing the broken load of plugins