Cleaning up capture fragment