fixing installPlugin