Fix multi plugin loading bug