fix plugin disabling