fixing wetdry flow