preventing valve failure