pub fn reset_capture()