fix thread issue, should_capture_or_not is now work...? I think...