cleanup stream extensions