Fix plugin loading