Add global capture but there is bad case.
fix environment timemachine