Attempting to fix plugin deletion issues