fixed plugin loading for multiple dependencies