fixed plugin loading