remove the use of Capture::Tiny